package org.example.model.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.anno.Schema;


@Data
@Schema(description = "用户表")
@EqualsAndHashCode(callSuper = true)
public class UserVO  extends BaseVO {

    @Schema(description = "主键")
    private Long id;


    @Schema(description = "用户名")

    private String userName;

    @Schema(description = "密码")

    private String password;

    @Schema(description = "昵称")

    private String nickName;

    @Schema(description = "邮箱")

    private String email;

    @Schema(description = "手机号")

    private String phoneNumber;

    @Schema(description = "状态  1：正常 0：禁用")

    private Integer status;


    @Schema(description = "性别  1：男 2：女")

    private Integer sex;

    @Schema(description = "头像")

    private String avatar;

    @Schema(description = "用户类型  1：普通用户 2：管理员")

    private Integer userType;
}
